package com.ctshk.rpc.certificate.service;

import com.ctshk.common.dto.Result;
import com.ctshk.common.model.PageResponse;
import com.ctshk.rpc.certificate.dto.AppointmentHkMacauCarDTO;
import com.ctshk.rpc.certificate.dto.CertificateAcceptDTO;
import com.ctshk.rpc.certificate.dto.CertificateHkMacauCarDTO;
import com.ctshk.rpc.certificate.req.*;

/**
 * <p>
 * 港澳私人小汽车入出内地移位牌证业务 服务类
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-03-25
 */
public interface ICertificateHkMacauCarService {

    /**
     * 港澳私人小汽车入出内地移位牌证登记
     * @param certificateHkMacauCarReq
     * @param userId
     * @return
     */
    Result saveHkMacauCar(CertificateHkMacauCarReq certificateHkMacauCarReq, Long userId);

    /**
     * 港澳私人小汽车入出内地移位牌证信息详情
     * @param id
     * @return
     */
    CertificateHkMacauCarDTO queryDetail(Long id);

    /**
     * 修改港澳私人小汽车入出内地移位牌证信息
     * @param certificateHkMacauCarReq
     * @param userId
     * @return
     */
    Result updateHkMacauCar(CertificateHkMacauCarReq certificateHkMacauCarReq, Long userId);

    /**
     * 处理港澳私人小汽车入出内地移位牌证预约信息
     * @param procReserveHkMacauCarReq
     * @param userId
     * @return
     */
    Result procReserveHkMacauCar(ProcCommonCertificateReq procReserveHkMacauCarReq, Long userId);

    /**
     * 证件受理列表
     * @param acceptPageReq
     * @return
     */
    PageResponse<CertificateAcceptDTO> queryCertificateAcceptList(CertificateAcceptPageReq acceptPageReq);

    Result<AppointmentHkMacauCarDTO> queryAppointmentInfo(QueryHkMacauCarReq queryAppointmentInfoReq, Long userId);

    Result cancelAppointment(Long id, Long userId);
}
